﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;

using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

using Cn.Edwon.Web.Support;
using Cn.Edwon.Biz;
using Cn.Edwon.Spring;
using Cn.Cellula.Model;
using System.Reflection;
using Cn.Cellula.Model.System;

namespace Cn.Cellula.Website.Ws {
    public partial class _Template : PageSupport {
        protected void Page_Load(object sender, EventArgs e) {
            String tl = "";
            try {
                IBiz biz = BizFactory.Get<IBiz>();
                TSysTemplateEO eo = biz.Load<TSysTemplateEO>(Request.QueryString["id"]);
                tl = eo.TlContent;
            } catch (Exception ex) {
                log.Error(ex.Message);
            }
            Response.Clear();
            Response.Write(tl);
            Response.End();
        }
    }
}
